<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta data-th-replace="common/meta :: meta">
    <title>格物数据后台管理平台-用户管理</title>
    <link rel="stylesheet" data-th-replace="common/Link :: link">
</head>
<body class="js-route-flag js-users">
<div class="container-fluid">
    <div class="row">
        <div class="row">
            <div class="col-md-6 col-xs-8">
                <form class="form-inline searchForm">
                    <div class="form-group">
                        <label for="loginName">登录账户：</label>
                        <input type="text" id="loginName" class="form-control" name="loginName" placeholder="输入用户名">
                    </div>
                    <button type="button" class="btn btn-gew btn-sm searchBtn"><i class="fa fa-search"></i>检索</button>
                </form>
            </div>
            <div class="col-md-6 col-xs-4">
                <button class="btn btn-gew pull-right btn-sm addBtn" type="button"><i class="fa fa-plus"></i>添加</button>
            </div>
        </div>
        <div class="table-responsive marginTop">
            <table class="table table-hover fadeIn animated" id="userTable"></table>
        </div>
    </div>
</div>
<!--新增用户-->
<div id="addUser" class="hidden-gew">
    <form class="form-horizontal addForm" id="addForm">
        <div class="box-body">
            <input id="id" type="hidden">
            <div class="form-group">
                <label for="userName" class="col-sm-3 control-label">登录账号：</label>
                <div class="col-sm-9">
                    <input type="text" class="form-control" name="userName" id="userName" placeholder="请输入登录账号">
                </div>
            </div>
            <div class="form-group password">
                <label for="password" class="col-sm-3 control-label">密     码：</label>
                <div class="col-sm-9">
                    <input type="password" class="form-control" name="password" id="password" placeholder="请输入密码">
                </div>
            </div>
            <div class="form-group password">
                <label for="verifyPassword" class="col-sm-3 col-sm-6 control-label">重复密码：</label>
                <div class="col-sm-9">
                    <input type="password" class="form-control" name="verifyPassword" id="verifyPassword" placeholder="请确认密码">
                </div>
            </div>
            <div class="form-group">
                <label for="memberSelect" class="col-sm-3 control-label">所属部门：</label>
                <div class="col-sm-9">
                    <!--<select id="memberSelect" class="form-control" name="memberSelect">-->
                        <!--&lt;!&ndash;<option value="1">组织部</option>&ndash;&gt;-->
                        <!--&lt;!&ndash;<option value="2">党支部</option>&ndash;&gt;-->
                        <!--&lt;!&ndash;<option valuaddForme="3">宣传部</option>&ndash;&gt;-->
                        <!--&lt;!&ndash;<option value="4">外联部</option>&ndash;&gt;-->
                    <!--</select>-->
                    <input type="text" id="memberSelect" name="memberSelect" class="form-control" value="" onclick="$('#treeview').show()" placeholder="部门名称">
                    <input id="departmentId" type="hidden">
                    <div id="treeview" style="display: none;">
                        <table class="table table-hover" id="bootstrapTable"></table>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label for="roleSelect" class="col-sm-3 control-label">角      色：</label>
                <div class="col-sm-9">
                    <select id="roleSelect" class="form-control" name="roleSelect">
                        <!--<option value="1">系统管理员</option>-->
                        <!--<option value="2">普通管理员</option>-->
                        <!--<option value="17">开发账户</option>-->
                        <!--<option value="27">数据中心管理员</option>-->
                    </select>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-offset-3 col-sm-9">
                    <button type="button" class="btn btn-gew" id="saveButton"><i class="fa fa-save"></i>保存</button>
                    <button type="button" class="btn btn-default-gew reset"><i class="fa fa-reply"></i>重置</button>
                </div>
            </div>
        </div>
    </form>
</div>
<script data-main="js/main.js" src="js/lib/require.min.js" defer async="true"></script>
</body>
</html>